function nextInteger ( subDays, current ) {
    var next = Math.floor( current ) + 1;
    var days = 0;
    
    var target = Math.floor( next * subDays / 100 );
    
    var days = target - daysd;
    
    return days;
}

document.write( "Present:" );
document.write( "<ul>" );

document.write( "<li>Days in relationship: " + daysd + "</li>");
var podl = Math.round(daysd * 10000 / ddayl) / 100; // Dam's percent, 2 dec round
document.write( "<li>Percentage of Dam's life: " + podl + "%</li>");
var poml = Math.round(daysd * 10000 / mdayl) / 100; // My percent, 2 dec round
document.write( "<li>Percentage of my life: " + poml + "%</li>");
document.write( "<li>Zombies killed: +100 (probably)</li>");

document.write( "</ul>" );

document.write( "Future:" );
document.write( "<ul>" );

document.write( "<li>Next 15: WIP</li>");
document.write( "<li>Next Dam Integer: " + nextInteger( ddayl, podl ) + " days</li>");
document.write( "<li>Next Fam Integer: " + nextInteger( mdayl, poml ) + " days</li>");

document.write( "</ul>" );
